package net.office.mapper;

import java.util.List;
import net.office.bean.StaffLeave;
import net.office.bean.StaffLeaveExample;
import org.apache.ibatis.annotations.Param;

public interface StaffLeaveMapper {
    long countByExample(StaffLeaveExample example);

    int deleteByExample(StaffLeaveExample example);

    int deleteByPrimaryKey(Integer staffLeaveId);

    int insert(StaffLeave record);

    int insertSelective(StaffLeave record);

    List<StaffLeave> selectByExample(StaffLeaveExample example);

    StaffLeave selectByPrimaryKey(Integer staffLeaveId);

    int updateByExampleSelective(@Param("record") StaffLeave record, @Param("example") StaffLeaveExample example);

    int updateByExample(@Param("record") StaffLeave record, @Param("example") StaffLeaveExample example);

    int updateByPrimaryKeySelective(StaffLeave record);

    int updateByPrimaryKey(StaffLeave record);
}